Insert Event of Network Video

After inserting network video, you can customize check rule of video use editor.config.onlineVideoCallback.

const E = window.wangEditor
const editor = new E('#div1')

// customizing insert event of network video
editor.config.onlineVideoCallback = function (video) {
// you can customize content of callback after inserting a video successfully.
  console.log('video content', video)
}

editor.create()
Copyright © wangEditor (2020 - present) all right reserved,powered by GitbookFile Modify: 2022-04-11 06:40:29

results matching ""

    No results matching ""